from django.contrib import admin
from django.urls import path
from . import views as v

# 管理后台页面
urlpatterns = [
    # 根据登录user获取续租申请列表
    path('get_tenant_again_apply_list/', v.get_tenant_again_apply_list),
    # 获取上架申请列表
    path('get_grounding_apply_list/', v.get_grounding_apply_list),
    # 获取售后订单申请列表
    path('get_order_apply_list/', v.get_order_apply_list),
    # 处理续租申请
    path('deal_tenant_again_apply/', v.deal_tenant_again_apply),
    # 处理上架申请
    path('deal_grounding_apply/', v.deal_grounding_apply),
    # 处理售后订单申请
    path('deal_order_apply/', v.deal_order_apply),

]

urlpatterns += [
    # 提交续租申请
    path('submit_tenant_again_apply/', v.submit_tenant_again_apply),
    # 提交上架申请
    path('submit_grounding_apply/', v.submit_grounding_apply),
    # 提交售后申请
    path('submit_order_apply/', v.submit_order_apply),

]
